<template>
  <el-dialog title="弹窗标题"
             :visible.sync="box"
             top="5vh"
             width="80%"
             @close="closeDialog">
    <basic-container>
      <div>11111</div>
    </basic-container>
  </el-dialog>
</template>
<script>
export default {
  props: ['box'],
  data () {
    return {}
  },
  methods: {
    closeDialog () {
      //关闭弹窗回调
      //给父组件传值 false  改变父组件dislogIsShow的值为 false
      // this.$emit('watchChild', false)
   
    }
  }
}
</script>
<style>
</style>